/*
 * tmrPacketHandler.h
 *
 * Created: 9/19/2013 1:31:22 PM
 *  Author: Tim
 */ 


#ifndef TMRPACKETHANDLER_H_
#define TMRPACKETHANDLER_H_

#include "../structs/msgHeaderDefs.h"
#include "../structs/tmrPacketStructs.h"
#include "genPacketHandler.h"

static inline status_t tmrSetFreq(tmrSetFreq_t *packet)
{
	//setup the timer
	tmrSetupFreq(packet->frequency);
	 
	 //send an ack of config change
	sendGenAck(tmrSetFreq_mh,1);
	return OPP_SUCCESSFUL;
}


#endif /* TMRPACKETHANDLER_H_ */